package cn.edu.sanxiau.www.model;

public class Permission {
    //权限ID
    private int permission_id;
    //父ID
    private int p_id;
    //名称
    private String name;
    //类型
    private String type;
    //url
    private String url;
    //权限码
    private String permission_code;
    //状态
    private String state;
    //图标
    private String icon;

    public int getPermission_id() {
        return permission_id;
    }

    public void setPermission_id(int permission_id) {
        this.permission_id = permission_id;
    }

    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermission_code() {
        return permission_code;
    }

    public void setPermission_code(String permission_code) {
        this.permission_code = permission_code;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "Permission [permission_id=" + permission_id + ", p_id=" + p_id + ", name=" + name + ", type=" + type
                + ", url=" + url + ", permission_code=" + permission_code + ", state=" + state + ", icon=" + icon + "]";
    }

}
